
<foreach name="datalist" item="vo">

        <div class="weui-cells pd0 detail_do" trade_id="{$vo.id}">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p class="fs24 text-gray">{$vo.create_time || date='Y-m-d H:i:s',###}</p>
                </div>
                <div class="weui-cell__ft">
                    <if condition="$vo.status eq 1">
                        <p class="fs26 text-main">挂买中</p>
                        <elseif condition="$vo.status eq 2" />
                        <p class="fs26 text-main">等待买家付款</p>
                        <elseif condition="$vo.status eq 3"/>
                        <p class="fs26 text-main">买家已打款</p>
                        <elseif condition="$vo.status eq 4"/>
                        <p class="fs26 text-main">交易成功</p>
                        <elseif condition="$vo.status eq -1"/>
                        <p class="fs26 text-main">订单已取消</p>
                        <elseif condition="$vo.status eq -2"/>
                        <p class="fs26 text-main">订单申诉中</p>

                    </if>

                </div>
            </div>
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p class="fs28 fw600">{$vo.snickname}</p>
                    <p class="fs26 mt5">交易数量：{$vo.number}  ACC</p>
                    <p class="fs26 mt5">单价：{$vo.curr_price}$/ACC</p>
                    <p class="fs26 mt5">总价：{$vo.total_price}$</p>
                </div>
                <div class="weui-cell__ft">
                    <if condition="$vo.status eq 1">
                        <span class="order_btn cancel_do">取消挂买</span>
                        <elseif condition="$vo.status eq 2" />

                        <elseif condition="$vo.status eq 3"/>
                        <span class="order_btn">确认收款</span>
                        <elseif condition="$vo.status eq 4"/>
                        <elseif condition="$vo.status eq -1"/>
                        <elseif condition="$vo.status eq -2"/>

                    </if>

                </div>
            </div>
        </div>


</foreach>



